home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 5 / Gold Medal Software - Volume 5 (Gold Medal) (1995).iso / music / jale067g.arj / ERRCODE.TXT < prev    next >
Text File  |  1995-01-16  |  10KB  |  191 lines

  1. Jaleo displays the componet (below, 200h-A00h) and the error code along
  2. with a short text whenever it feels something's up.  Nothing is fatal
  3. so any error can be disregarded (if it plays, it plays).  The error code
  4. is a hex number, so if it says 0A23 ERR_TOOMANYPCS, it means that
  5. the error is 0A00 (patch related) and 0023 (35 decimal, too many PCs or
  6. invalid file (possibly corrupt)).
  7.  
  8. RKE = 200h      ;Kernel related  (for example, 0204h means no more handles)
  9. RSE = 300h    ;Sys related
  10. R2E = 400h    ;Ruckus related
  11. RME = 500h    ;MIDI related
  12. RVE = 600h    ;Vox related
  13. RDE = 700h    ;Trak related
  14. RCD = 800h    ;CD-audio related
  15. RMX = 900h    ;Mixer related
  16. RPE =0A00h    ;Patch related
  17.  
  18.          
  19. ;DOS-type errors generated/returned by Ruckus
  20. ERR_UNXEOF    EQU -3        ;unexpected end of file DOS (65533)
  21. ERR_DISKFULL    EQU -2        ;disk full DOS        (65534)
  22. ERR_NOMEMORY    EQU 8        ;cannot allocate required memory from DOS
  23.  
  24. ;Also:
  25. ;errors such as RPE+02 means DOS error "file not found" occured during
  26. ;a patch releated action (bogus filename in R2GUS.INI, for example)
  27. ;see the DOS errors at the end for a list (DOS errors will under 20)
  28. ;the other errors are extended error codes (check a DOS programmer ref).
  29.  
  30. ;kernel errors
  31. ERR_NOHANDLES   EQU RKE+21  ;no handles left from ss$Malloc for MCB
  32. ERR_BADHANDLE   EQU RKE+22  ;handle not valid from ss$Free for MCB/xms$ too
  33. ERR_MEMCORRUPT  EQU RKE+23  ;memory corrupt from ss$Malloc for MCB
  34. ERR_NOMEMKRN    EQU RKE+24  ;no/not enough memory from ss$Malloc for MCB
  35. ERR_NOMATCH     EQU RKE+25  ;EnvVar not found
  36. ERR_XMSFAIL     EQU RKE+30  ;XMS general failure (check xms@lastErr,lastErrFunc)
  37. ERR_NOXMSMGR    EQU RKE+31  ;xms$Init called but no XMS manager installed
  38. ERR_XMS16MB     EQU RKE+32  ;XMS allocation crossed 16MB (no-go for ISA DMA)
  39. ERR_FILE64MB    EQU RKE+33  ;XMS file cache filesize >= 64MB
  40. ERR_XMSFC255    EQU RKE+34  ;XMS file cache has no XF slots available
  41. ERR_XMSHDL7FF   EQU RKE+35  ;XMS handle conflict (SuperCache)
  42. ERR_VDSFAIL     EQU RKE+40  ;VDS general failure
  43. ERR_VDSLOCKFAIL EQU RKE+41  ;VDS region lock failed
  44. ERR_TIMEROFF    EQU RKE+50  ;selected timer is not set up/not init'ed
  45. ERR_TIMERINUSE  EQU RKE+51  ;selected timer already in use
  46. ERR_TIMERUPSO   EQU RKE+52  ;selected timer cannot be used (not responding)
  47. ERR_STUBDEV    EQU RKE+98  ;device is stubbed out
  48. ERR_STUBCOMP    EQU RKE+99  ;component is stubbed out
  49.  
  50. ;sys errors
  51. ERR_NOMORESLOTS EQU RSE+21  ;no more tracker slots for permanent DOS store
  52.  
  53. ;device init/access errors
  54. ERR_ILLEGALCMD  EQU R2E+21  ;command code not valid
  55. ERR_NODEVICE    EQU R2E+22  ;device (in context) not detected/not valid device#
  56. ERR_DEVICEON    EQU R2E+23  ;device has already been installed
  57. ERR_DEVIRQ      EQU R2E+24  ;device fails IRQ test (NYI)
  58. ERR_DEVDMA      EQU R2E+25  ;device fails DMA test (NYI)
  59. ERR_DEVNOTIMER  EQU R2E+26  ;device has no on-board timer
  60. ERR_NOMEMDEV    EQU R2E+27  ;device has no RAM available
  61. ERR_NOTINGEAR   EQU R2E+28  ;device has not been installed
  62. ERR_DMATIMEOUT    EQU R2E+31  ;DMA transfer did not signal completion (see RPE)
  63. ERR_DMABADMODE    EQU R2E+32  ;DMA mode not valid for request
  64. ERR_DMABUSY    EQU R2E+33  ;DMA channel already in use
  65. ERR_DMAGRAM256    EQU R2E+39  ;GRAM 256K page crossing on DMA attempt [GUS]
  66. ERR_BADENVVAR    EQU R2E+91  ;requested EnvVar not found or incomplete
  67. ERR_BADPATH    EQU R2E+92  ;path+filename+ext > MAX_PATHSIZE or null
  68. ERR_MMSSCORRUPT EQU R2E+93  ;general memory manager is corrupt
  69. ERR_MMSSLOCKFAIL EQU R2E+94 ;general memory manager lock failed
  70. ERR_INVALIDTASK EQU R2E+99 ;internal error
  71.  
  72.  
  73. ;MIDI file errors
  74. ERR_FORMATMIDI  EQU RME+21  ;file is not of type 0 or type 1
  75. ERR_TRACKSMIDI  EQU RME+22  ;file contains too many tracks (more than 48)
  76. ERR_TIMINGMIDI  EQU RME+23  ;file division timing not metrical
  77. ERR_HEADERMIDI  EQU RME+24  ;file does not start with "MT"
  78. ERR_CHUNK64K    EQU RME+25  ;file has track >= 64K (convert to type-1 to fix)
  79. ERR_NOTAVAILMIDI EQU RME+30 ;function not available unless playing (AdjustTempo)
  80.  
  81. ;VOX errors
  82. ERR_BADIOBID    EQU RVE+21  ;IOB id is out of range (valid is 0-7)
  83. ERR_BADATTNPTR  EQU RVE+22  ;attention ptr not pointing to "aV" structure
  84. ERR_NOMEMIOB    EQU RVE+23  ;no memory for IO buffer
  85. ERR_NULLIOB     EQU RVE+24  ;IOB id is not primed
  86. ERR_IOBNOTAVAIL EQU RVE+25  ;IOB id is not available, or none are available
  87.  
  88.  
  89. ;patch/voice allocation errors        
  90. ERR_UNKPATHDR   EQU RPE+21  ;patch file header is not known
  91. ERR_UNKPATINS   EQU RPE+22  ;patch file contains more than 1 instrument [GUS]
  92. ERR_UNKPATLAYER EQU RPE+23  ;patch file contains more than 1 layer [GUS]
  93. ERR_OLDPATVER   EQU RPE+24  ;patch file format is obsolete
  94. ERR_BADMODE     EQU RPE+25  ;mode not supported for operation
  95. ERR_NOMEMDMA    EQU RPE+26  ;no memory for temporary DMA transfer buffer
  96. ERR_NOCACHE     EQU RPE+27  ;patch permanent store/cache not available (XMS)
  97. ERR_NOMEMPATCH  EQU RPE+28  ;cannot allocate required patch memory
  98. ERR_INVALIDBANK EQU RPE+29  ;patch bank invalid
  99. ERR_NOINI       EQU RPE+30  ;R2*.INI not found in current dir or in PATDIR=
  100. ERR_BADINI      EQU RPE+31  ;R2*.INI has invalid format
  101. ERR_BADBANKINI  EQU RPE+32  ;INI must at least contain [bank X] (X=default bank)
  102. ERR_BADDIRINI   EQU RPE+33  ;INI [bank must at least include [dir=DEFAULT]
  103. ERR_NOPATCHINI  EQU RPE+34  ;patch required not found in INI [bank]
  104. ERR_TOOMANYPCS  EQU RPE+35  ;more than 512 Program Change events or invalid file
  105. WRN_PATCHFLAGGED EQU RPE+39  ;patchname starts with "*" in INI (WARNING only)
  106. ERR_NOPATCH     EQU RPE+40  ;no program change info in .MID and no default patch
  107. ERR_BADPATCHNO  EQU RPE+41  ;melo/drum patch out-of-range or not loaded
  108. ERR_NOPATCHMAP  EQU RPE+42  ;drum patch out-of-range (percCh ky# doesn't map)
  109. ERR_PATCHBOGUS  EQU RPE+43  ;patch contains out-of-bounds data
  110. ERR_PATCHIS8    EQU RPE+44  ;patch is already in low-rez form
  111. ERR_BADLOOPADDR EQU RPE+45  ;loop points not valid
  112. ERR_PATCHINUSE  EQU RPE+46  ;patch number has already been allocated
  113. ERR_PATCHZERO   EQU RPE+47  ;patch number is not allocated/no patch data
  114. ERR_BADVOICE    EQU RPE+50  ;voice number not valid (user selected)
  115. ERR_VOICENA    EQU RPE+51  ;voice is not available (already in use)
  116. ERR_VOICEACTIVE EQU RPE+52  ;voice active (cannot unassign w/o force)
  117.  
  118. Errors_DOS
  119.  
  120. -3 unexpected end of file (error codes < 0 are mine)
  121. -2 disk full
  122. -1 bad filename
  123.  0 no error
  124.  1 function not supported              19 disk write protected
  125.  2 file not found                      20 unknown unit
  126.  3 path not found                      21 drive not ready
  127.  4 too many open files                 22 unknown command
  128.  5 access denied (see Specs_Networks)  23 data error (CRC)
  129.  6 handle invalid                      24 bad request structure length
  130.  7 MCBs destroyed                      25 seek error
  131.  8 not enough memory                   26 unknown medium type
  132.  9 memory block address invalid        27 sector not found
  133. 10 environment invalid                 28 printer out of paper
  134. 11 format invalid                      29 write fault
  135. 12 access code invalid                 30 read fault
  136. 13 data invalid                        31 general failure
  137.    reserved-0Eh                        32 sharing violation
  138. 15 disk drive invalid                  33 lock violation
  139. 16 cannot remove current directory     34 disk change invalid/wrong disk
  140. 17 not same device                     35 FCB unavailable
  141. 18 no more files                       36 sharing buffer overflow
  142.  
  143.  
  144. 37 code page mismatched                58 incorrect response from net
  145. 38 handle EOF                          59 unexpected network error
  146. 39 handle disk full                    60 incompatible remote adapter
  147.    reserved-28h                        61 print queue full
  148.    reserved-29h                        62 no spool space
  149.    reserved-2Ah                        63 not enough space to print file
  150.    reserved-2Bh                        64 network name deleted
  151.    reserved-2Ch                        65 network access denied
  152.    reserved-2Dh                        66 network device type incorrect
  153.    reserved-2Eh                        67 network name not found
  154.    reserved-2Fh                        68 network name limit exceeded
  155.    reserved-30h                        69 NETBIOS session limit exceeded
  156.    reserved-31h                        70 sharing temporarily paused
  157. 50 network request not supported       71 network request not accepted
  158. 51 remote computer not listening       72 print/disk redirection paused
  159. 52 duplicate name on network              reserved-49h
  160. 53 network pathname not found             reserved-4Ah
  161. 54 network busy                           reserved-4Bh
  162. 55 network device no longer exists        reserved-4Ch
  163. 56 NETBIOS command limit exceeded         reserved-4Dh
  164. 57 network adapter hardware error         reserved-4Eh
  165.  
  166.    reserved-4Fh                  ────────────── DOS Class Codes
  167. 80 file exists
  168. 81 duplicate FCB                 1 out of resources      7 app error
  169. 82 cannot make                   2 temporary situation   8 not found
  170. 83 fail on INT24                 3 authorization         9 bad format
  171. 84 out of structures             4 internal error       10 locked
  172. 85 already assigned              5 hardware failure     11 media failed
  173. 86 invalid password              6 system failure       12 already exist
  174. 87 invalid parameter                                    13 unknown
  175. 88 network write fault
  176.    reserved-59h                    DOS Action Codes      DOS Locus Codes
  177. 90 sys comp not loaded
  178.                                  1 retry immediately     1 unknown
  179.                                  2 delay and retry       2 block device
  180.                                  3 reenter input         3 network
  181.                                  4 abort ASAP            4 serial device
  182.                                  5 abort immediately     5 memory
  183.                                  6 ignore error
  184.                                  7 user intervention
  185.  
  186. ;<EOF>
  187.              
  188.  
  189. ;<EOF>
  190.          
  191.